package com.cn.wanxi.test;

public class MyBreak {
    public static void main(String[] args) {
        for (int i = 0; i <= 12; i++) {
            if (i <= 8) {
                System.out.println("现在" + i + "点，正在学习");
            } else {
                System.out.println("现在太晚了，不用学习了");
                break;
            }
        }
    }
}
